package com.cofey.config.service;

import com.cofey.config.entity.Config;
import com.cofey.config.repository.ConfigRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ConfigRepositoryService {
    @Autowired
    private ConfigRepository configRepository;

    public Config findConfig(String application, String profile, String label) {
        return configRepository.findConfig(application, profile, label);
    }
}
